[#import "/framework/JGP.htm"  as JGP]
<!--
项目   glSystem
作者   fdp
时间   2018/8/1
-->
[@JGP.head "Title"/]
[@JGP.body]
<jgp-div _row="['*','100']" _runit="px" _aux="true">
    <jgp-form slot="1-1" _action="/glMeeting/participantsApiController/addParticipants" _method="POST"  _id='addParticipants' _fdata='${editParticipants!""}'>

        <jgp-text  _col="12" _label="姓名:" _name="name" ></jgp-text>
        <jgp-radio _col="12" _label="性别:" _name="sex" _active_key="BUSI.SEX"></jgp-radio>

        <jgp-text  _col="12" _label="所属单位:" _name="workUnit"></jgp-text>
        <jgp-text  _col="12" _label="所属组:" _name="group"></jgp-text>
        <jgp-text  _col="12" _label="职务:" _name="job" ></jgp-text>
        <jgp-text  _col="12"  _label="身份证号:"  _name="cardNo" ></jgp-text>
        <jgp-text  _col="12"  _label="手机号:" _name="mobilePhone" _value="" ></jgp-text>
        <jgp-text  _col="12"  _label="组织代码:" _name="organizationCode" _value=""></jgp-text>
        <jgp-text  _col="12"  _label="发票台头:" _name="invoiceHead" _value="" ></jgp-text>
        <jgp-radio _id="jiuCan" _label="是否就餐:" _name="isMeat" _list="[{'value':1,'label':'是'},{'value':0,'label':'否'}]">
        </jgp-radio>
        <jgp-radio _id="zhuSu" _label="是否住宿:" _name="isLive" _list="[{'value':1,'label':'是'},{'value':0,'label':'否'}]">
        </jgp-radio>
    </jgp-form>

    <jgp-div slot="2-1" _col="['*','*']"  _aux="false">

        <jgp-btn slot="1-1" _fn="addParticipants">确认修改</jgp-btn>
    </jgp-div>
</jgp-div>
[/@JGP.body]

[@JGP.foot]
<script>
    function addParticipants() {

        var addParticipants=JGP.form("addParticipants");
        addParticipants.ajaxSubmit(function success(res) {
            if(res.flag==true){
                JGP.$alert("修改成功");

                JGP.$close(res.flag);
            }
        })

    }

</script>
[/@JGP.foot]